package com.hyxt.api;


import com.hyxt.DO.DataRecode;

import java.util.List;

/**
 *
 * @author wxf
 * @version v1.0
 * @Description mysql数据源接口
 * @Date: Create in 12:40 2017/11/21
 * @Modifide By:
 **/
public interface MysqlDataService {
    /**
     * 添加数据
     * @param record
     * @return
     */
    int insert(DataRecode record)throws Exception;



    DataRecode selectByPrimaryKey(DataRecode record)throws Exception;

    /**
     * 修改数据
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(DataRecode record)throws Exception;

    /**|
     * 删除数据
     * @param record
     * @return
     */
    int deleteByPrimaryKey(DataRecode record)throws Exception;


    public List selectData(DataRecode record)throws Exception;
}
